package com.qf.api.form;

import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author: sin
 * @Date: 2025/5/8 17:05
 * @Description:
 **/
@Data
public class UserForm {

    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @NotBlank(message = "手机号码不能为空")
    private String mobile;

    /**
     * 性别：0-女，1-男
     **/
    private Integer gender;

    private String email;

    @TableField(exist = false)
    private String password;

    /**
     * 状态：0-禁用，1-正常
     **/
    private Boolean status;

    private Long roleId;

    private String remark;
}
